package com.hskn.hss.module.menu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hskn.hss.module.button.entity.SysButton;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_menu")
public class SysMenu implements Serializable {

    private String id;

    private String name;

    /**
     * 父菜单ID
     */
    private String parentid;

    private String parentName;

    /**
     * 应用标识
     */
    private String applabel;

    /**
     * 应用方法
     */
    private String action;

    /**
     * 菜单类型
     */
    private String type;

    /**
     * 菜单状态 0 启用 1禁用
     */
    private String status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 菜单排序
     */
    private String listorder;

    @TableField(exist = false)
    private List<SysButton> sysbutton;


}
